package com.blood.modules.pregnancy.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 孕产用户分页查询结果
 *
 * @author daoren
 * @date 2022-11-24 11:36:34
 */
@Data
@ApiModel(value = "孕产用户列表查询结果", description = "孕产用户列表查询结果")
public class PregnancyUserListResp {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("床号")
    private String bedNumber;
    @ApiModelProperty("住院编号")
    private String hospitalNumber;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("预产期")
    private Date dueDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("上次采集时间")
    private Date gatherTime;
    @ApiModelProperty("状态（1正常，2预警，3危险，4已出院）")
    private Integer status;

}
